const router = require('koa-router')();

const userRouter = require('./user.js');

const productRouter = require('./product.js');

router.use('/api',userRouter.routes(),userRouter.allowedMethods());

router.use('/api',productRouter.routes(),productRouter.allowedMethods());

module.exports = router;